<admintpl file="header" />
  <style>
	  .yangshi{
		  width: 80px;
	  }
	  .tijiao{
		  width: 120px;height: 35px; vertical-align:middle;
		  margin-left: 40%;
		  background: red;
		  color: white;
		  border: none;
		  border-radius: 3px;

	  }
  </style>
</head>
<body>
<div class="wrap">
	<ul class="nav nav-tabs">
		<li class=""><a href="{:U('Odds/k3')}">快3赔率</a></li>
		<li class=""><a href="{:U('Odds/fc3d')}">福彩3D奖金</a></li>
		<li class="active"><a href="{:U('Odds/kl8')}">快乐8奖金</a></li>
		<li class=""><a href="{:U('Odds/pk10')}">PK10奖金</a></li>
		<li class=""><a href="{:U('Odds/pl3')}">排列3奖金</a></li>
		<li class=""><a href="{:U('Odds/ssc')}">时时彩奖金</a></li>
		<li class=""><a href="{:U('Odds/syx5')}">11选5奖金</a></li>
	</ul>
   <form class="form" method="post" action="{:U('Odds/kl8')}">
	   <span>任选-任选一奖金：<input type="text" name="rx1" class="yangshi rx1" value="{$arr.rx1}"></span>
	   <span style="margin-left: 120px">任选-任选二奖金：<input type="text" name="rx2" class="yangshi rx2" value="{$arr.rx2}"></span>
	   <span style="margin-left: 100px">任选-任选三(中三)奖金：<input type="text" name="rx3mid3" class="yangshi rx3mid3" value="{$arr.rx3mid3}"></span><br/>
	   <span >任选-任选三(中二)奖金：<input type="text" name="rx3mid2" class="yangshi rx3mid2" value="{$arr.rx3mid2}"></span>
	   <span style="margin-left: 50px">任选-任选四(中四)奖金：<input type="text" name="rx4mid4" class="yangshi rx4mid4" value="{$arr.rx4mid4}"></span>
	   <span style="margin-left: 95px">任选-任选四(中三)奖金：<input type="text" name="rx4mid3" class="yangshi rx4mid3" value="{$arr.rx4mid3}"></span><br/>
	   <span >任选-任选四(中二)奖金：<input type="text" name="rx4mid2" class="yangshi rx4mid2" value="{$arr.rx4mid2}"></span>
	   <span style="margin-left: 50px">任选-任选五(中五)奖金：<input type="text" name="rx5mid5" class="yangshi rx5mid5" value="{$arr.rx5mid5}"></span>
	   <span style="margin-left: 98px">任选-任选五(中四)奖金：<input type="text" name="rx5mid4" class="yangshi rx5mid4" value="{$arr.rx5mid4}"></span><br/>
	   <span>任选-任选五(中三)奖金：<input type="text" name="rx5mid3" class="yangshi rx5mid3" value="{$arr.rx5mid3}"></span>
	   <span  style="margin-left: 50px">任选-任选六(中六)奖金：<input type="text" name="rx6mid6" class="yangshi rx6mid6" value="{$arr.rx6mid6}"></span>
	   <span style="margin-left: 100px">任选-任选六(中五)奖金：<input type="text" name="rx6mid5" class="yangshi rx6mid5" value="{$arr.rx6mid5}"></span><br/>
	   <span >任选-任选六(中四)奖金：<input type="text" name="rx6mid4" class="yangshi rx6mid4" value="{$arr.rx6mid4}"></span>
	   <span style="margin-left: 50px">任选-任选六(中三)奖金：<input type="text" name="rx6mid3" class="yangshi rx6mid3" value="{$arr.rx6mid3}"></span>
	   <span style="margin-left: 100px">任选-任选七(中七)奖金：<input type="text" name="rx7mid7" class="yangshi rx7mid7" value="{$arr.rx7mid7}"></span><br/>
	   <span>任选-任选七(中六)奖金：<input type="text" name="rx7mid6" class="yangshi rx7mid6" value="{$arr.rx7mid6}"></span>
	   <span style="margin-left: 50px">任选-任选七(中五)奖金：<input type="text" name="rx7mid5" class="yangshi rx7mid5" value="{$arr.rx7mid5}"></span>
	   <span style="margin-left: 100px">任选-任选七(中四)奖金：<input type="text" name="rx7mid4" class="yangshi rx7mid4" value="{$arr.rx7mid4}"></span><br/>
	   <span>任选-任选七(中零)奖金：<input type="text" name="rx7mid0" class="yangshi rx7mid0" value="{$arr.rx7mid0}"></span>
	   <span style="margin-left: 50px">趣味-上下盘(上下)奖金：<input type="text" name="qwsx" class="yangshi qwsx" value="{$arr.qwsx}"></span>
	   <span style="margin-left: 115px">趣味-上下盘(和)奖金：<input type="text" name="qwsxhe" class="yangshi qwsxhe" value="{$arr.qwsxhe}"></span><br/>
	   <span>趣味-奇偶盘(奇偶)奖金：<input type="text" name="qwjo" class="yangshi qwjo" value="{$arr.qwjo}"></span>
	   <span style="margin-left: 68px">趣味-奇偶盘(和)奖金：<input type="text" name="qwjohe" class="yangshi qwjohe" value="{$arr.qwjohe}"></span>
	   <span style="margin-left: 95px">趣味-和值大小单双奖金：<input type="text" name="qwhezhi" class="yangshi qwhezhi" value="{$arr.qwhezhi}"></span><br/><br/><br/>


	   <button type="button" class="tijiao" onclick="sav()" >保存</button>

   </form>
<div class="c-tan-shadow"></div>
<script src="__PUBLIC__/js/common.js"></script>
</div>
</body>
</html>

<script>
	function sav(){
		var rx1 = $(".rx1").val();
		var rx2 = $(".rx2").val();
		var rx3mid3 = $(".rx3mid3").val();
		var rx3mid2 = $(".rx3mid2").val();
		var rx4mid4 = $(".rx4mid4").val();
		var rx4mid3 = $(".rx4mid3").val();
		var rx4mid2 = $(".rx4mid2").val();
		var rx5mid5 = $(".rx5mid5").val();
		var rx5mid4 = $(".rx5mid4").val();
		var rx5mid3 = $(".rx5mid3").val();
		var rx6mid6 = $(".rx6mid6").val();
		var rx6mid5 = $(".rx6mid5").val();
		var rx6mid4 = $(".rx6mid4").val();
		var rx6mid3 = $(".rx6mid3").val();
		var rx7mid7 = $(".rx7mid7").val();
		var rx7mid6 = $(".rx7mid6").val();
		var rx7mid5 = $(".rx7mid5").val();
		var rx7mid4 = $(".rx7mid4").val();
		var rx7mid0 = $(".rx7mid0").val();
		var qwsx = $(".qwsx").val();
		var qwsxhe = $(".qwsxhe").val();
		var qwjo = $(".qwjo").val();
		var qwjohe = $(".qwjohe").val();
		var qwhezhi = $(".qwhezhi").val();


		if(rx1 == ""){
			alert("任选-任选一的奖金不能为空");
			return false;
		}
		if(rx2 == ""){
			alert("任选-任选二的奖金不能为空");
			return false;
		}
		if(rx3mid3 == ""){
			alert("任选-任选三(中三)的奖金不能为空");
			return false;
		}
		if(rx3mid2 == ""){
			alert("任选-任选三(中二)的奖金不能为空");
			return false;
		}
		if(rx4mid4 == ""){
			alert("任选-任选四(中四)的奖金不能为空");
			return false;
		}
		if(rx4mid3 == ""){
			alert("任选-任选四(中三)的奖金不能为空");
			return false;
		}
		if(rx4mid2 == ""){
			alert("任选-任选四(中二)的奖金不能为空");
			return false;
		}
		if(rx5mid5 == ""){
			alert("任选-任选五(中五)的奖金不能为空");
			return false;
		}
		if(rx5mid4 == ""){
			alert("任选-任选五(中四)的奖金不能为空");
			return false;
		}
		if(rx5mid3 == ""){
			alert("任选-任选五(中三)的奖金不能为空");
			return false;
		}
		if(rx6mid6 == ""){
			alert("任选-任选六(中六)的奖金不能为空");
			return false;
		}
		if(rx6mid5 == ""){
			alert("任选-任选六(中五)的奖金不能为空");
			return false;
		}
		if(rx6mid4 == ""){
			alert("任选-任选六(中四)的奖金不能为空");
			return false;
		}
		if(rx6mid3 == ""){
			alert("任选-任选六(中三)的奖金不能为空");
			return false;
		}
		if(rx7mid7 == ""){
			alert("任选-任选七(中七)的奖金不能为空");
			return false;
		}
		if(rx7mid6 == ""){
			alert("任选-任选七(中六)的奖金不能为空");
			return false;
		}
		if(rx7mid5 == ""){
			alert("任选-任选七(中五)的奖金不能为空");
			return false;
		}
		if(rx7mid4 == ""){
			alert("任选-任选七(中四)的奖金不能为空");
			return false;
		}
		if(rx7mid0 == ""){
			alert("任选-任选七(中零)的奖金不能为空");
			return false;
		}
		if(qwsx == ""){
			alert("趣味-上下盘(上下)的奖金不能为空");
			return false;
		}
		if(qwsxhe == ""){
			alert("趣味-上下盘(和)的奖金不能为空");
			return false;
		}
		if(qwjo == ""){
			alert("趣味-奇偶盘(奇偶)的奖金不能为空");
			return false;
		}
		if(qwjohe == ""){
			alert("趣味-奇偶盘(和)的奖金不能为空");
			return false;
		}
		if(qwhezhi == ""){
			alert("趣味-和值大小单双的奖金不能为空");
			return false;
		}

     $(".form").submit();
	}
</script>